package com.jinglu.cloud.security.enums;

public enum UserDetailResponseType {

    REDIRECT(302, "验证失败，302跳转"),
    INVALID_TOKEN(401, "无效的token"),
    SUCCESS(200, "请求成功");

    private Integer code;
    private String msg;

    private UserDetailResponseType(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return this.code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return this.msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }


}
